package hl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7SegOBX extends MessageComponent{
	
	//Declarations
	public EDC_HL7FldI4 SetID;
	public EDC_HL7FldST ValueType;
	public EDC_HL7FldCE ObservationIdentifier;
	public EDC_HL7FldST ObservationSubID;
	public EDC_HL7RepFldFT ObservationValue;
	public EDC_HL7FldCE Units;
	public EDC_HL7FldST ReferencesRange;
	public EDC_HL7RepFldST AbnormalFlags;
	public EDC_HL7FldR8 Probability;
	public EDC_HL7RepFldST NatureOfAbnormalTest;
	public EDC_HL7FldST ObservationResultStatus;
	public EDC_HL7FldTS DateLastObsNormalValues;
	public EDC_HL7FldST UserDefinedAccessChecks;
	public EDC_HL7FldTS DateTimeOfTheObservation;
	public EDC_HL7FldCE ProducersID;
	public EDC_HL7RepFldXCN ResponsibleObserver;
	public EDC_HL7RepFldCE ObservationMethod;
	
	//Constructor
	public EDC_HL7SegOBX(MessageElement elem) {
		super(elem);
		SetID = new EDC_HL7FldI4(elem.getElementAt("SetID"));
		ValueType = new EDC_HL7FldST(elem.getElementAt("ValueType"));
		ObservationIdentifier = new EDC_HL7FldCE(elem.getElementAt("ObservationIdentifier"));
		ObservationSubID = new EDC_HL7FldST(elem.getElementAt("ObservationSubID"));
		ObservationValue = new EDC_HL7RepFldFT(elem.getElementAt("ObservationValue"));
		Units = new EDC_HL7FldCE(elem.getElementAt("Units"));
		ReferencesRange = new EDC_HL7FldST(elem.getElementAt("ReferencesRange"));
		AbnormalFlags = new EDC_HL7RepFldST(elem.getElementAt("AbnormalFlags"));
		Probability = new EDC_HL7FldR8(elem.getElementAt("Probability"));
		NatureOfAbnormalTest = new EDC_HL7RepFldST(elem.getElementAt("NatureOfAbnormalTest"));
		ObservationResultStatus = new EDC_HL7FldST(elem.getElementAt("ObservationResultStatus"));
		DateLastObsNormalValues = new EDC_HL7FldTS(elem.getElementAt("DateLastObsNormalValues"));
		UserDefinedAccessChecks = new EDC_HL7FldST(elem.getElementAt("UserDefinedAccessChecks"));
		DateTimeOfTheObservation = new EDC_HL7FldTS(elem.getElementAt("DateTimeOfTheObservation"));
		ProducersID = new EDC_HL7FldCE(elem.getElementAt("ProducersID"));
		ResponsibleObserver = new EDC_HL7RepFldXCN(elem.getElementAt("ResponsibleObserver"));
		ObservationMethod = new EDC_HL7RepFldCE(elem.getElementAt("ObservationMethod"));
	}

}
